package com.loan.service.impl;

import com.loan.dal.entity.InPhoneDO;
import com.loan.manager.InPhoneManager;
import com.loan.service.InPhoneService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class InPhoneServiceImpl implements InPhoneService {
     @Autowired
     private InPhoneManager inPhoneManager;

    @Override
    public Integer addPhoneDO(InPhoneDO inPhoneDO) {
        return inPhoneManager.addInCustomer(inPhoneDO);
    }

    @Override
    public InPhoneDO queryById(Integer id) {
        return inPhoneManager.selectById(id);
    }

    @Override
    public Integer modifyCustomers(InPhoneDO inPhoneDO) {
        return inPhoneManager.modifyInCustomer(inPhoneDO);
    }
}
